package com.ruoyi.system.domain.fx;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 咨询对象 fx_consult
 * 
 * @author ruoyi
 * @date 2024-08-12
 */
public class FxConsult extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 联系人 */
    @Excel(name = "联系人")
    private String name;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phone;

    /** 需求 */
    @Excel(name = "需求")
    private String need;

    /** 公司名称 */
    @Excel(name = "公司名称")
    private String company;

    /** 类型 */
    @Excel(name = "类型",readConverterExp = "1=个人团购,2=工长直采,3=装企直供,4=阳光采购,5=门窗系统,6=全屋定制,7=装修改造,8=家庭维修")
    private Integer type;

    /** 状态 */
    @Excel(name = "状态", readConverterExp = "0=已处理,1=未处理")
    private Integer status;

    /** 联系地址 */
    @Excel(name = "联系地址")
    private String address;

    private String  typeName;

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setNeed(String need) 
    {
        this.need = need;
    }

    public String getNeed() 
    {
        return need;
    }
    public void setCompany(String company) 
    {
        this.company = company;
    }

    public String getCompany() 
    {
        return company;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("phone", getPhone())
            .append("need", getNeed())
            .append("company", getCompany())
            .append("createTime", getCreateTime())
            .append("type", getType())
            .append("status", getStatus())
            .append("address", getAddress())
            .toString();
    }
}
